
function show(e) {
	$(this)
		.addClass('hoverMenu')
		.find('ul').slideDown(350);
}
function hide(e) {
	$(this) // list item that was clicked
		.removeClass('hoverMenu')
		.find('ul').slideUp(100);
}

$(document).ready(function() {
    var config = {
        over: show,
        timeout: 50,
        interval: 10,
        out: hide
    };
    $('#navigation #nav li')
    // when a nav item is hovered,
    // add a class to it and show
    // any children ULs (dropdowns)
		.hoverIntent(config);
    
    // prevent clicking main category empty links
    $('a.category').click(function(e) {
        e.preventDefault();
    });

});




